import { defineConfig } from 'astro/config';
import vue from '@astrojs/vue';
import preact from "@astrojs/preact";
// https://astro.build/config
export default defineConfig({
  setup({ config }) {
    config.globals = './src/scripts/fetch.js';
  },
  output: 'server',
  prefetch: true,//预获取
  site: "https://example.com",
  integrations: [preact(), vue()]
});